n=1818; pencil=[|4649,3689| 4649,5612| 4649,3088|];